package org.slf4j.impl;

import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;

public class StaticLoggerBinder implements LoggerFactoryBinder {

	private static final ILoggerFactory loggerFactory = new MyLoggerFactory();
	private static final StaticLoggerBinder THIS = new StaticLoggerBinder();
	

	public static final StaticLoggerBinder getSingleton() {
		return THIS;
	}

	@Override
	public ILoggerFactory getLoggerFactory() {
		return loggerFactory;
	}

	@Override
	public String getLoggerFactoryClassStr() {
		// TODO Auto-generated method stub
		return loggerFactory.getClass().getName();
	}

}
